package com.example.elderlycare.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.elderlycare.dao.entity.ConsultRecord;
import com.example.elderlycare.service.entity.ConsultRecordListResponseBody;

public interface ConsultService extends IService<ConsultRecord> {
    /**
     * queryConsultRecordList 根据参数查询列表
     *
     * @param current      当前页
     * @param pageSize     页面容量
     * @param queryWrapper 查询参数封装
     * @return ConsultRecordListResponseBody
     */
    ConsultRecordListResponseBody queryConsultRecordList(int current, int pageSize, QueryWrapper<ConsultRecord> queryWrapper);
}
